package transmit

import (
	"net"
)

func connectionBuild() net.Conn {
	service := "127.0.0.1:10111"
	tcpAddr, err := net.ResolveTCPAddr("tcp4", service)
	if err != nil {
		print(err)
		return nil
	}
	conn, err := net.DialTCP("tcp", nil, tcpAddr)
	if err != nil {
		print(err)
		return nil
	}
	return conn

}
